import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import ExpenseClass from '@/components/neufin/ExpenseClass'
import Drugsmage from '@/components/neupha/Drugsmage'
import SettleCategory from '@/components/neusys/SettleCategory'
import SettleCategory0 from '@/components/neusys/SettleCategory0'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },{
      path: '/neufin/expenseClass',
      name: 'ExpenseClass',
      component: ExpenseClass
    },{
      path: '/neupha',
      name: '药房模块',
      component: Drugsmage,
      children:[
        {
          path: '/neupha/drugsmage',
          name: 'Drugsmage',
          component: Drugsmage
        }
      ]
    },{
      path: '/neusys/settleCategory',
      name: 'SettleCategory',
      component: SettleCategory
    },{
      path: '/neusys/settleCategory0',
      name: 'SettleCategory0',
      component: SettleCategory0
    }
  ]
})
